/**
 * Copyright (c) 2018 人人开源 All rights reserved.
 * <p>
 * https://www.renren.io
 * <p>
 * 版权所有，侵权必究！
 */

package com.boot.framework.oss;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

import java.io.Serializable;

/**
 * 云存储配置信息
 *
 * @author Mark sunlightcs@gmail.com
 */
@Data
@Configuration
public class CloudStorageConfig implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 0 本地 1minio
     */
    @Value("${file.type}")
    private String type;

    /**
     *
     */
    @Value("${file.endPoint}")
    private String endPoint;

    @Value("${file.bucketName}")
    private String bucketName;

    @Value("${file.prefix}")
    private String prefix;

    @Value("${file.accessKey}")
    private String accessKey;

    @Value("${file.secretKey}")
    private String secretKey;
}